<? foreach ($wiki_versions as $wiki_version): 
$li = anchor('ajax/versioned/'.$wiki_version['wiki_id'].'/marked','view',array('class'=>'view'))."&nbsp;";
$li .= anchor('ajax/versioned/'.$wiki_version['wiki_id'],'diff',array('class'=>'diff'))."&nbsp;";
$li .= anchor('ajax/revert/'.$wiki_version['wiki_id'],'revert',array('class'=>'revert'))."&nbsp;";
$li .= "&nbsp;<span class='percentage'>".$wiki_version['similarity']."</span>&nbsp;";
$li .= "<span title='".$wiki_version['created_on']."'>".$wiki_version['author']."</span>";
$formatted_list[] = $li;
endforeach; ?>

<!-- Yes, a table. We bow out heads in shame. :( -->
<table>
<tr>
<td id="history_list">
<?=ol($formatted_list); ?>
</td>
<td id="view_panel">
</td>
</tr>
</table>
